

        <g:set var="entityName" value="${message(code: 'trainProgramme.label', default: 'TrainProgramme')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <th><g:message code="trainProgramme.week.label" default="week" /></th>
                   	    
                            <th><g:message code="trainProgramme.classes.label" default="Classes" /></th>
                   	    
                            <th><g:message code="trainProgramme.term.label" default="Term" /></th>
                            <th><g:message code="trainProgramme.course.label" default="Term" /></th>
                            <th><g:message code="trainProgramme.description.label" default="Term" /></th>
                   	    
                          
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${trainProgrammeInstanceList}" status="i" var="trainProgrammeInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${trainProgrammeInstance.id}">第${trainProgrammeInstance?.week}周${entityName}</g:link></td>
 
                        
                            <td>${fieldValue(bean: trainProgrammeInstance, field: "classes")}</td>
                        
                            <td>${fieldValue(bean: trainProgrammeInstance, field: "term")}</td> 
                            <td>${fieldValue(bean: trainProgrammeInstance, field: "course")}</td>
                            <td>${ trainProgrammeInstance?.description}</td>
                        
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${trainProgrammeInstanceTotal}" />
            </div>
